using Newtonsoft.Json;

namespace ShopifySharp;

/// <summary>
/// Represents a customer that should be purged from your database after receiving a GDPR webhook.
/// In some cases, a customer record contains only the customer's email address
/// </summary>
public class RedactedCustomer
{
    /// <summary>
    /// The customer's id.
    /// </summary>
    [JsonProperty("id")]
    public long? Id { get; set; }

    /// <summary>
    /// The customer's email address.
    /// </summary>
    [JsonProperty("email")]
    public string Email { get; set; }

    /// <summary>
    /// The customer's phone number.
    /// </summary>
    [JsonProperty("phone")]
    public string Phone { get; set; }
}